POV-Ray : Newsgroups : povray.binaries.images : Shortest code ever for mandel landscape made of spheres : Re: Shortest code ever for mandel landscape made of spheres => Not any more (25KB) Server Time
19 Aug 2024 04:27:10 EDT (-0400)
  Re: Shortest code ever for mandel landscape made of spheres => Not any more (25KB)  
From: Christoph Hormann
Date: 20 Jan 2001 10:10:53
Message: <3A69AA7D.22E3C533@gmx.de>
Tor Olav Kristensen wrote:
> 
> It can be done with 2 characters less.
> (The image below is done that way.)
> 
> So Warp, can you spot how to shorten your code ?
> 

I could not find it until now, but i have a version that is 8 characters
shorter than Warp's, although i'm not sure if you will accept it, because
it's not made of spheres.  

I also managed to eliminate one while loop from Warp's version, but that
makes it slightly larger, maybe someone can also reduce this:

camera{location 2look_at 0}light_source{9,1}$R=0;#while
(R<99)sphere{<int(R)/99,eval_pattern(mandel 9,
<(R-int(R)-.5)*3,int(R)/40-1>),R-int(R)>.01pigment{bozo}}$R=R+.02;#end 


Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.